/*
 * @Author: steven.wang
 * @Date:   2019-03-01 17:01:03
 * @Last Modified by:   steven.wang
 * @Last Modified time: 2019-03-01 17:01:15
 */
import waves from './waves'

const install = function(Vue) {
    Vue.directive('waves', waves)
}

if (window.Vue) {
    window.waves = waves
    Vue.use(install); // eslint-disable-line
}

waves.install = install
export default waves
